package com.jmgd.cjlx.controller;

import com.jmgd.cjlx.service.PosService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sendOrder")
public class SendOrderController {
    @Autowired
    PosService posService;


    @RequestMapping(value = "/upload", method = RequestMethod.GET)
    public String upload(String dataType,String idNo) throws Exception {
        return posService.sendOrder(dataType,idNo);
    }
}
